function loc = locateZ(z)
% if(z<0)
%     loc=1000;
% else
%     loc=round(z/0.01)+1;

    loc=ceil(z/0.01);
    if(loc==0)
        loc=1;
    end
% end

    